﻿<Window x:Class="qlvt.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
        
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="Số hoá đơn" Grid.Row="0" Grid.Column="0" />
        <Label Content="Hàng hoá" Grid.Row="1" Grid.Column="0" />
        <Label Content="Số lượng" Grid.Row="2" Grid.Column="0" />
        <Label Content="Đơn giá" Grid.Row="3" Grid.Column="0" />
        <Label Content="Diễn giải" Grid.Row="4" Grid.Column="0" />
        <TextBox Name="txtSoHD"  Grid.Row="0" Grid.Column="1"  Margin="2"/>
        <ComboBox Name="cboHangHoa"  Grid.Row="1" Grid.Column="1"  Margin="2"/>
        <TextBox Name="txtSoLuong"  Grid.Row="2" Grid.Column="1"  Margin="2"/>
        <TextBox Name="txtDonGia"  Grid.Row="3" Grid.Column="1"  Margin="2"/>
        <TextBox Name="txtDienGiai"  Grid.Row="4" Grid.Column="1" Margin="2"/>
        <Button Content="Lưu" Grid.Row="5" Grid.Column="1" Width="100" Height="28"  Margin="0,0,120,0" HorizontalAlignment="Right" Click="cmdLuu_Click"/>
        <Button Content="Thoát" Grid.Row="5" Grid.Column="1" Width="100" Height="28"  Margin="0,0,5,0" HorizontalAlignment="Right" Click="cmdThoat_Click"/>

    </Grid>
</Window>
